#!/usr/bin/env python
# -*- coding:utf8 -*-

import redis

pool = redis.ConnectionPool(host='192.168.1.231', port=6394, password='qzone111')  # 连接池

r = redis.Redis(connection_pool=pool)
print(r.hget('hash_m_user_210216', 'nick').decode('utf8'))
# print(r.hgetall('hash_m_user_301100'))
